package com.sanjiahantang.youjiaclient.module.match.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiaclient.base.BaseBean;

import java.util.List;

/**
 * Created by zy on 2017/9/29.
 */

public class MatchListBean extends BaseBean {
    private String data;

    public Data getData() {
        return new Gson().fromJson(data,Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data extends ListBean{
        private List<Detail> list;

        public List<Detail> getList() {
            return list;
        }

        public void setList(List<Detail> list) {
            this.list = list;
        }
    }

    public static class Detail {
        private String subjectsName;
        private List<Item> goodsList;
        private int mgtiId;
        private String url;

        public String getSubjectsName() {
            return subjectsName;
        }

        public void setSubjectsName(String subjectsName) {
            this.subjectsName = subjectsName;
        }

        public List<Item> getGoodsList() {
            return goodsList;
        }

        public void setGoodsList(List<Item> goodsList) {
            this.goodsList = goodsList;
        }

        public int getMgtiId() {
            return mgtiId;
        }

        public void setMgtiId(int mgtiId) {
            this.mgtiId = mgtiId;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }

    public static class Item {
        private String goodsName;
        private int mgiId;
        private float basePrice;
        private String url;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public int getMgiId() {
            return mgiId;
        }

        public void setMgiId(int mgiId) {
            this.mgiId = mgiId;
        }

        public float getBasePrice() {
            return basePrice;
        }

        public void setBasePrice(float basePrice) {
            this.basePrice = basePrice;
        }
    }
}
